// 拿到所有的input输入框,
let inputs = document.querySelectorAll(".inputs")
// console.log(inputs);
// 遍历input
inputs.forEach(function (v) {
    // 给每个输入框注册点击事件
    v.addEventListener("click", function () {
        v.style.border = "1px solid #00bdff"
    })
    v.addEventListener("blur", function () {
        v.style.border = ""
        // if(/^[\da-zA-Z]{6,12}$/.test(this.value)){
        //     v.style.display="flex"
        // }
    })
})
let inputs1 = document.querySelector(".inputs")
let span = document.querySelector(".icon")
inputs1.addEventListener("blur", function () {
let zishu =document.querySelector(".zishu")
    // console.log(inputs1);
    if (!/^[\da-zA-Z]{6,12}$/.test(this.value)) {
        span.style.display="flex"
        zishu.style.display="flex"

    }
})
